# import sys
# str=sys.stdin.readline()
# print(str)
#
# num=input("请输入一个数字")
# print(num)
#
# sys.stdout.write("hello")


file=open("a.txt",'r',buffering=1,encoding= 'utf-8')

# print(file.read())
print("----------------------------------")
print((file.readline()))
print("----------------------------------")
# file.close()
with open("b.txt",'r',buffering=1,encoding= 'utf-8') as f:
    # print(f.read())
    print("----------------------------------")
    print((file.readline()))

with open("b.txt",'a',buffering=1,encoding= 'utf-8') as f:
    f.write("\n你好世界")


import os
print(os.getcwd())
print(os.listdir())

